package com.linsir.lin.dto;


import java.util.List;

/**
 * @author ：linsir
 * @date ：Created in 2021/7/8 13:11
 * @description：组织结构DTO
 * @modified By：
 * @version: 1.0.0
 */
public class OrganizationDTO {

    private Integer id;

    private String name;

    private String title;

    private String code;

    private String type;

    private String sort;

    private boolean spread;

    private Integer pid;

    private List<OrganizationDTO> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSort() {
        return sort;
    }

    public boolean isSpread() {
        return spread;
    }

    public void setSpread(boolean spread) {
        this.spread = spread;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public List<OrganizationDTO> getChildren() {
        return children;
    }

    public void setChildren(List<OrganizationDTO> children) {
        this.children = children;
    }
}
